package com.fyb.springcloud.exception;

/**
 * @author fyb
 * @version 1.0
 * @date 2021/3/11 17:46
 */

public class RedisException extends RuntimeException {

    private String msg;

    private String code;

    public RedisException() {
    }

    public RedisException(String msg, String code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
